package com.xushi.bean;

import com.alibaba.fastjson.JSONObject;
import com.xushi.model.ActivityGrade;

import java.sql.Timestamp;

public class ActivityGradeBean {

    public ActivityGradeBean(ActivityGrade activityGrade, JSONObject userInfo) {
        this.id = activityGrade.getId();
        this.grade = activityGrade.getGrade();
        this.activityId = activityGrade.getActivityId();
        this.username = activityGrade.getUsername();
        this.time = activityGrade.getTime();
        this.userInfo = userInfo;
    }

    private Integer id;

    private String activityId;

    private String username;

    private Integer grade;

    private Timestamp time;

    private JSONObject userInfo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public JSONObject getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(JSONObject userInfo) {
        this.userInfo = userInfo;
    }
}
